class Jobsite < ActiveRecord::Base
  validates :name, :uniqueness => true, :presence => true, :length => {:minimum => 1}
  
  has_many :items
  has_many :users
  belongs_to :company
end
